package com.liuyuan.mapper;

import com.liuyuan.pojo.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface BookDao {
    Book getBookById(int id);
    List<Book> getAllBook();
    int insertBook(Book Book);
    int updateBook(Book Book);
    int deleteBook(int id);
}
